﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace tvdbInterface
{
    public partial class SearchEngine : Form
    {
        public SearchEngine()
        {
            InitializeComponent();
        }

        private void btnSearch_Click(object sender, EventArgs e)
        {
            /*
            if (txtSearchPattern.Text != String.Empty)
            {
                lvResults.Items.Clear();

                List<ListViewItem> lResults = tvdbInterface.findSeriesByTitle(txtSearchPattern.Text, "DE");

                if (lResults != null && lResults.Count > 0)
                {
                    foreach (ListViewItem lviResult in lResults)
                    {
                        lvResults.Items.Add(lviResult);
                    }
                }
            }
             * */
        }
    }
}
